// We only need to import the modules necessary for initial render
import App from '../containers/App'
import Dashboard from '../components/dashboard'
import CustomerRoute from '../components/customer'
import CalculatorRoute from '../components/calculator'
import CounterRoute from '../components/counter'
import DictionaryRoute from './dictionary'

import ArtileListRoute from './dictionary/routes/article/routes/list'

export const createRoutes = (store) => ({
    path: '/',
    component: App,
    indexRoute: Dashboard,
    childRoutes: [
        CounterRoute(store),
        CalculatorRoute(store),
        CustomerRoute(store),
        DictionaryRoute(store)
        ,ArtileListRoute(store)
    ]
})

export default createRoutes
